<?php
	namespace app\admin\validate;
	use think\Validate;
	class Adminmsg extends  Validate{
		protected $rule=[
			'title|标题'=>'require',
			'desc|内容'=>'require'
		];
		protected $message=[
			'title.require'=>'标题不能为空',
			'desc.require'=>'内容不能为空'
		];
		
	}
?>